gtk: Add GtkPadController
authorCarlos Garnacho <carlosg@gnome.org>
Thu, 4 Aug 2016 17:22:34 +0000 (19:22 +0200)
committerCarlos Garnacho <carlosg@gnome.org>
Tue, 23 Aug 2016 19:01:45 +0000 (21:01 +0200)
commita0b9586465bc86c06105129208ab6eb4de8a357a
tree031d11f845ce8262bb84acc4c66010106ea25e83
parent3a6d0ff2ab05c66f18fd1aa740029976b30ac1bc
gtk: Add GtkPadController

This GdkEventController is a helper object to handle pad events,
it allows setting a mapping to action names, to be triggered in
the given action group.

In order to help on places where advanced mapping/configurability
of pad features is not desirable, this controller also allows
passing a NULL pad device, meaning it will listen on all pads,
and/or passing -1 on mode/index, so an action applies to all
modes/features (eg. strips/rings).

https://bugzilla.gnome.org/show_bug.cgi?id=770026
docs/reference/gtk/gtk-docs.sgml
docs/reference/gtk/gtk3-sections.txt
docs/reference/gtk/gtk3.types.in
gtk/Makefile.am
gtk/gtk.h
gtk/gtkpadcontroller.c [new file with mode: 0644]
gtk/gtkpadcontroller.h [new file with mode: 0644]